#ifndef CONTROL_H
#define CONTROL_H
#include <QObject>
#include <QQuickWindow>


class Control : public QObject {
Q_OBJECT
public:
    Control(QQuickWindow *win, int size, QObject *par = nullptr);
public Q_SLOTS:
    void startAnimation(int x, int y);
private:

    QQuickWindow *m_win;
    int m_size; //直径
};

#endif // CONTROL_H
